package com.zjl.aop.advice;

/**
 * @Auther: zhuangjl
 * @Date: 2021/12/14 17:15
 */
public class PersonImpl implements Person {

    private String name = "Tony";
    private Integer age = 51;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public void printName(String name) {
        System.out.println(name);
    }
}
